package com.rht.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 秒杀活动商品关联
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:55:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sms_seckill_sku_relation")
public class SeckillSkuRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * 活动id
	 */
			private Long promotionId;

	/**
	 * 活动场次id
	 */
			private Long promotionSessionId;

	/**
	 * 商品id
	 */
			private Long skuId;

	/**
	 * 秒杀价格
	 */
			private BigDecimal seckillPrice;

	/**
	 * 秒杀总量
	 */
			private Integer seckillCount;

	/**
	 * 每人限购数量
	 */
			private Integer seckillLimit;

	/**
	 * 排序
	 */
			private Integer seckillSort;


}
